package com.atguigu.tingshu.search.service;

import com.atguigu.tingshu.query.search.AlbumIndexQuery;
import com.atguigu.tingshu.vo.search.AlbumInfoIndexVo;
import com.atguigu.tingshu.vo.search.AlbumSearchResponseVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SearchService {

    void upperAlbum(Long albumId);

    void deleteAlbumInfoIndex(Long albumId);

    AlbumSearchResponseVo searchAlbums(AlbumIndexQuery query);

    List<Map> getChannel(Long c1Id);

    List<String> completeSuggest(String keyword);

    Map getAlbumInfoById(Long albumId);

    List<AlbumInfoIndexVo> findRankingList(@Param("c1Id") Long c1Id,@Param("sort") String sort);

    void updateLatelyAlbumRanking();
}
